﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Circle : Shape
    {
        protected int radius;

        public Circle(int radius)
        {
            this.radius = radius;

        }
        public override void GetArea()
        {  
            //base.GetArea();
            double pai = 3.1415926;
            double result; ;
            result = pai * this.radius * this.radius;
            Console.WriteLine(result);
        }
    }
}
